/* SMT 產品送修  */
.SMT17-content .kmi-layout-main-content{
    background: linear-gradient(to right, #f7f7f7 50%,rgba(255, 255, 255, 0.51) 100%);
}
.SMT17-content .kmi-layout-page {
    display: flex;
    flex-direction: column;
}

/* 產品序號 product_serialNumber_panel */
.SMT17-content .product_serialNumber_panel {
    margin-bottom: 8px;
}
.SMT17-content .product_serialNumber_panel .serialNumber_panel {
    justify-content: space-between;
}
.SMT17-content .serialNumber_panel .qr-code {
    width: 50%;
}
.SMT17-content .serialNumber_panel .qr-code> input{
    font-size : 13px;
    background: #f7f7f7;
}
.SMT17-content .serialNumber_panel .user {
    width: 20%;
    margin-right: 50px;
}

/* 產品基本資料 product_basicData_panel */
.SMT17-content .basicData_panel {
    margin-bottom: 8px;
    display: flex;
    position: relative;
    box-sizing: border-box;
    padding: 8px 0px 0px 32px;
    border-radius: 6px;
    border: 1px solid #cccccc;
    background: #ffffff;
    overflow:hidden;
    transition: all .2s ease-in-out;
    min-height: 120px;
    flex-wrap: wrap;
}
.SMT17-content .basicData_panel.is-close{
    flex: 0 0 46px;
}
.SMT17-content .basicData_panel .trigger-btn-fields{
    position: absolute;
    top: 10px;
    left: 4px;
}
.SMT17-content .basicData_panel .trigger-btn-fields .close-btn{
    color: #1ab7cd;
}
.SMT17-content .basicData_panel .trigger-btn-fields .close-btn .openIcon {
    display: none;
}
/* ng-class */
.SMT17-content .basicData_panel.is-close .trigger-btn-fields .close-btn .closeIcon{
    display: none;
}
/* ng-class */
.SMT17-content .basicData_panel.is-close .trigger-btn-fields .close-btn .openIcon{
    display: initial;
}
.SMT17-content .basicData_panel .basicData {
    flex: 1;
}
.SMT17-content .basicData_panel .basicData .label.fixed-width {
    width: 98px;
}

/* 產品狀態 repair_status_panel */
.SMT17-content .product_status_panel {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-bottom: 8px;
}

/* ng-class */
.SMT17-content .init-none{
    display: none;
}

.SMT17-content.next_page .next-page{
    display: initial;
}

.SMT17-content.next_page .select-area{
    display: none;
}

.SMT17-content .serialNumber_panel.SMT .btn{
    display: initial;
}

.SMT17-content .serialNumber_panel.SMT .btn-none{
    display: none;
}

.SMT17-content .red {
    color: red;
}
.SMT17-content .green{
    color: green;
}

.SMT17-content .wrapp-panel{
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.SMT17-content .kmi-text-fields.A1-panel-item{
    width: 160px;
}
.SMT17-content .paste-show-panel{
    flex: 1;
    display: flex;
    flex-direction: column;
}
.SMT17-content .data-mining .paste-show-panel,.SMT17-content .examine-type .paste-show-panel{
    flex: none;
}
.SMT17-content .barcode-produce-switch_panel{
    display: flex;
    width: 100%;
}
/* .SMT17-content .jqplot-title{
    font-weight: 900;
    padding: 5px 0 0px 25px;
} */
.SMT17-content .tab {
    text-align: center;
    flex: 0 0 80px;
    /* padding: 8px; */
    position: relative;
    box-sizing: border-box;
    border: 1px solid #cccccc;
    border-radius: 6px 6px 0 0;
    transition: all .2s ease-in-out;
    border-bottom: 1px solid transparent;
    background: #ffffff;
    font-weight: 600;
}

.SMT17-content .tab.is-select {
    border-bottom: 1px solid transparent;
    background: #ebebeb;
    color: #00869b;
}
/* 20201020 SMT過站增修 */
/* 一般作業過站、檢查作業站過站 */
.data-mining .A1_panel,.examine-type .A1_panel{
    display: flex;
    flex-direction: column;
    height: 100%;
}

.data-mining .A2-panel,.examine-type .A2-panel{
    /* height: 100%; */
    flex: 1;
    display: flex;
}

.data-mining .A2-panel .product_status_panel{
    flex: 1;
}

.data-mining .A2-panel .chart1{
    flex: 1;
}

.examine-type .basicData_panel.A4_D4_chart{
    flex: 1;
    padding: 10px;
    margin-left: 5px;
    margin-bottom:0
}

.product_status_panel .data-min_product_panel,.product_status_panel .print-style_product_panel{
    display: flex;
    flex-direction: column;
}

.product_status_panel .data-min_product_panel,.product_status_panel .print-style_product_panel{
    height: 100%;
}

/* data-mining 產品狀態 */
.data-mining .basicData_panel.product_status_panel,.examine-type  .basicData_panel.product_status_panel{
    flex: 1;
    padding: 10px;
    margin-right: 5px;
    margin-bottom:0
}
.data-mining .basicData_panel.product_status_panel{
    margin-right: 0;
}
/* data-mining和examine-type時chart_panel隱藏 */
.data-mining .charts_panel,.examine-type .charts_panel{
    display: none;
}

.data-mining .btn,.print-type .btn, .paste-type .btn{
    display: none;
}
/* 印刷作業站過站、貼片作業站過站 */
.print-type .A1_panel,.paste-type .A1_panel{
    display: flex;
    flex: 35% 0 0;
    overflow: hidden;
}

.paste-type .basicData_panel.tool-info-chart,.print-type .basicData_panel.tool-info-chart{
    flex: 1;
    padding: 10px;
    margin-bottom: 0;
    margin-right: 5px;
    flex-direction: column;
}

.paste-type .basicData_panel.produce-effiency,.print-type .basicData_panel.produce-effiency{
    flex: 1;
    padding: 10px;
    margin-bottom: 0;
    margin-left: 5px;
}

/*  */
.paste-type .charts_panel,.print-type .charts_panel{
    display: flex;
    padding-top: 10px;
    flex: 1;
    overflow: hidden;
}

.paste-type .basicData_panel.product_info_panel,.print-type .basicData_panel.product_info_panel{
    flex: 1;
    margin-bottom: 0;
    padding: 0;
    margin-right: 5px;
    box-sizing: border-box;
    height: 100%;
}

.A1_panel_box{
    margin: 10px;
    display: flex;
    flex-wrap: wrap;
}

/*印刷、貼片產品狀態 */
.paste-type .product_status_panel,.print-type .product_status_panel{
    flex: 1;
    margin-bottom: 0;
    padding: 5px;
}

.paste-type .A2-panel,.print-type .A2-panel{
    margin-left: 5px;
    flex: 1;
}

.print-type .A2-panel{
    overflow: hidden;
}

.SMT17-content .paste-type .product_status_panel,.SMT17-content .print-type .product_status_panel{
    margin-bottom:0;
    overflow: hidden;
}

.data-mining .basicData_panel.A4_D4_chart,.print-type .basicData_panel.A4_D4_chart,.paste-type .basicData_panel.A4_D4_chart{
    display: none;
}
/*  */
.examine-type .A1_panel{

}

.examine-type .btn{
    display: block;
}

.chart-title{
    margin-bottom: 10px;
    line-height: 30px;
    padding-left: 10px;
    border-bottom:1px solid #dddddd;
    font-weight: bold;
}

.SMT17-content .warnig-lite{
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.SMT17-content .warnig-lite.red{
    background: rgb(219, 75, 60);
}

.SMT17-content .warnig-lite.yellow{
    background: #f6cf5a;
}

.SMT17-content .warnig-lite.green{
    background: #68bd84;
}

.SMT17-content .btn-panel{
    display: flex;
}

.SMT17-content .dialog-container.materialNeed-dialog{
    min-width: 80%;
}

.dialog-container{
    width: 80%;
}

.kmi-text-fields .kmi-checkbox{
    font-weight: 600;
    color: #00869b;
}

.mtrl_chart{
    font-weight: 600;
    color: #999;
}

.mtrl_chart.is-select{
    font-weight: 600;
    color: #00869b;
}